import axiosSetting from './setAxios'

const fetch = axiosSetting();

export default {
  //模拟数据
  getUserInfo:fetch.bind(this,'/moni/userInfo','get'),
  //获得全部用户信息
  getUser:fetch.bind(this,'/myp/user/list','post'),
  // getUserInfo:fetch.bind(this,'/api/product/list','get')
  //以表单形式提交数据 qs

  //以Json形式提交数据
  loginQs:fetch.bind(this,'/lsz/user/jsonLogin','post'),
  
  // loginTest:fetch.bind(this,'/myp/user/testlogin','post'),

  // login:fetch.bind(this,'/lsz/user/test','post'),
  //用户注册
  // register:fetch.bind(this,'/lsz/user/register','post')
  register:fetch.bind(this,'/api/user/register','post')
}